package com.parenting.response.platform;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OrderPageListResponse对象", description="订单列表")
public class OrderPageListResponse implements Serializable {

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "订单编号")
    private String orderNumber;

    @ApiModelProperty(value = "下单时间")
    private Date orderTime;

    @ApiModelProperty(value = "付款时间")
    private Date paymentTime;

    @ApiModelProperty(value = "购买账号")
    private String buyerAccount;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "订单类型")
    private String orderType;

    @ApiModelProperty(value = "购买物品名称")
    private String itemName;

    @ApiModelProperty(value = "物品图片")
    private String itemImageUrl;

    @ApiModelProperty(value = "原单价 单位分   --对应原价（元）")
    private Integer originalPrice;

    @ApiModelProperty(value = "优惠单价（单价，单位分）--对应 优惠价")
    private Integer ItemConcessional;

    @ApiModelProperty(value = "购买数量")
    private Integer itemNumber;

    @ApiModelProperty(value = "实付金额 单位分 订单总价-- 对应商品总价")
    private Integer paid;

    @ApiModelProperty(value = "总优惠 单位分 对应--优惠（元）")
    private Integer discount;

    @ApiModelProperty(value = "订单状态 1未支付，2已支付，3交易成功，4交易关闭，5退款中，6已退款，7拒绝退款")
    private Integer orderState;

}
